#include "stdafx.h"
#include <fstream>
using namespace std;

long double compression (ifstream &file, int *pos, char *sym, int n);

void compression (long double res, int *pos, char *sym, int n);